/**
 * 
 */
package org.lionsteins.eddie.client;

import com.google.gwt.user.datepicker.client.CalendarModel;
import com.google.gwt.user.datepicker.client.DatePicker;
import com.google.gwt.user.datepicker.client.DefaultCalendarView;

/**
 * @author skang
 *
 */
public class MyDatePicker extends DatePicker {

	
	public MyDatePicker() {
		super(new MyMonthAndYearSelector(),new DefaultCalendarView(),new
				CalendarModel()) ;
		
		MyMonthAndYearSelector monthSelector = (MyMonthAndYearSelector)
				this.getMonthSelector() ;
		
		
		monthSelector.setPicker(this) ;
		monthSelector.setModel(this.getModel()) ; 
	}
	
	public void refreshComponents() {
		super.refreshAll() ;
	} 
	
}
